wordlist = input('请输入三个英文单词，中间以", "隔开：').split(', ')
w1, w2, w3 = sorted(wordlist)
print(w1, w2, w3)